<div class="widget-head" style="margin-top:0;">
    <div class="widget-title">SEO设置</div>
</div>
<php> $seo_params = F('WEB_CONFIG_SEO') ? F('WEB_CONFIG_SEO') : ['title'=>'','keywords'=>'','description'=>'']; </php>
<form class="layui-form" method="post" action="/system/api_admin/seo_post">
    <div class="layui-form-item">
        <label class="layui-form-label">网站标题：</label>
        <div class="layui-input-block">
            <input type="text" name="title" value="{$seo_params.title}" placeholder="请输入网站标题" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">关键词：</label>
        <div class="layui-input-block">
            <input type="text" name="keywords" value="{$seo_params.keywords}" placeholder="请输入网站关键词" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item layui-form-text">
        <label class="layui-form-label">网站描述：</label>
        <div class="layui-input-block">
            <textarea name="description" placeholder="请输入网站描述" class="layui-textarea">{$seo_params.description}</textarea>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit lay-filter="*">保存</button>
        </div>
    </div>
</form>